<template>
  <el-avatar v-if="src" fit="fill" :src="$getFileUri(src)" :shape="shape" :size="size"/>
  <el-avatar v-else :src="picAvatar" :shape="shape" :size="size"/>
</template>

<script setup lang="ts">
import picAvatar from '/@/assets/biz/avatar.png';

const props = defineProps({
  src: {
    type: String,
    default: ''
  },
  shape: {
    type: [String, Number],
    default: 'circle'
  },
  size: {
    type: [String, Number],
    default: ''
  },
})


</script>

<style scoped lang="scss">
</style>
